<?php
/**
 * Model Traits SchoolTimetable
 * User: zng
 * Date: 2019/11/15
 * Time: 15:08
 */
namespace app\admin\traits\model\user;

Trait User {

    public function order()
    {
        return $this->hasMany('Order', 'user_id');
    }

}